<?php $this->Session->flash(); ?>
<div class="col-md-2">
    <h2><kbd><?php echo __('Actions'); ?></kbd></h2>
    <hr/>
    <ul class="nav nav-stacked ">

        <li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?></li>
        <li><?php echo $this->Html->link(__('List Categories'), array('controller' => 'categories', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Wallets'), array('controller' => 'wallets', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Wallet'), array('controller' => 'wallets', 'action' => 'add')); ?> </li>
    </ul>
</div>
<div class="col-md-10">

    <h2><kbd>Add User</kbd></h2>
    <hr/>
    <div class="col-md-12 col-md-offset-2">
        <?php echo $this->Form->create('User', array('class' => 'form-horizontal', 'inputDefaults' => array('label' => false))); ?>

        <fieldset>

            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">User name</label>

                <div class="col-sm-4">
                    <?php echo $this->Form->input('username', array('class' => 'form-control', 'placeholder' => 'Username ...')); ?>
                </div>
            </div>
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">Email</label>

                <div class="col-sm-4">
                    <?php echo $this->Form->input('email', array('class' => 'form-control', 'placeholder' => 'Email ...')); ?>
                </div>
            </div>
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">Password</label>

                <div class="col-sm-4">
                    <?php echo $this->Form->input('password', array('class' => 'form-control', 'placeholder' => 'Password ...')); ?>
                </div>
            </div>
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">Password_Confirm</label>

                <div class="col-sm-4">
                    <?php echo $this->Form->input('password_confirm', array('class' => 'form-control', 'placeholder' => 'Confirm password...', 'type' => 'password')); ?>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-5 col-sm-offset-2">
                    <?php echo $this->Form->Submit('Register', array('class' => 'btn btn-danger')); ?>
                </div>
            </div>
        </fieldset>

        <?php echo $this->Form->end(); ?>
    </div>
</div>

